﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Advisor/AdviseUPAdvisor.master" AutoEventWireup="true" CodeFile="CreateCourses.aspx.cs" Inherits="Advisor_AddCourses" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" Runat="Server">
<!-- Header Information -->
    <title>AdviseUP - Add Courses</title>
    <style type="text/css">
        .boxColor {background-color:#B3D9FF;} /* The style for the color of the main box*/
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="AdvisorInfo" Runat="Server">
<!-- The section of the page that contains the information relevant to the displayed schedule -->
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftButtons" Runat="Server">
<!-- The section of the page that contains the options along the left beside the main box -->
    <asp:Button ID="AddCourse" Text="Add Course" runat="server" Enabled="false"/><br /><br />
    <asp:Button ID="AddElective" Text="Add Elective" runat="server" Enabled="false" /><br /><br />
    <!-- Adding a 'Create Course' button. TODO: Flip files with Add Elective -->
    <asp:Button ID="CreateElective" Text="Create Elective" runat="server" Enabled="false"/>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="BoxHeader" Runat="Server">
<!-- This section of the page is the header of the main box -->
    Create Course
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="MainBox" Runat="Server">
<!-- This section of the page is the main box -->
    <br />
    <asp:Table ID="CreateCoursesTable" runat="server" Width="100%">
        <asp:TableRow><asp:TableCell> Subject: <asp:DropDownList ID="SubjectList" runat="server"></asp:DropDownList></asp:TableCell></asp:TableRow>
        <asp:TableRow><asp:TableCell> Course Number: <asp:TextBox ID="CourseNumber" MaxLength = "3" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
        <asp:TableRow><asp:TableCell> Title: <asp:TextBox ID="CourseTitle" MaxLength = "100" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
        <asp:TableRow><asp:TableCell> Credits: <asp:TextBox ID="Credits" MaxLength = "3" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
        <asp:TableRow>
            <asp:TableCell Width="33%">
                <span style="text-decoration:underline;">Prerequisites</span><br />
                <asp:ListBox ID="PrereqList" runat="server" Rows="3" Width="90%"></asp:ListBox><br />
                <asp:DropDownList ID="PrereqChoiceList" runat="server" AutoPostBack="true" Width="20%"></asp:DropDownList> 
                <asp:Button ID="PrereqAddButton" runat="server" Text="Add Prerequisite" onclick="AddPreReq_Click"/>
                <asp:Button ID="PrereqRemoveButton" runat="server" Text="Remove Prerequisite" onclick="RemovePreReq_Click"/>
            </asp:TableCell>
            <asp:TableCell Width="33%">
                <span style="text-decoration:underline;">Co-requisites</span><br />
                <asp:ListBox ID="CoreqList" runat="server" Rows="3" Width="90%"></asp:ListBox><br />
                <asp:DropDownList ID="CoreqChoiceList" runat="server" AutoPostBack="true" Width="20%"></asp:DropDownList> 
                <asp:Button ID="CoreqAddButton" runat="server" Text="Add Co-requisite" onclick="AddCoReq_Click"/>
                <asp:Button ID="CoreqRemoveButton" runat="server" Text="Remove Co-requisite" onclick="RemoveCoReq_Click"/>
            </asp:TableCell>
            <asp:TableCell Width="33%">
                <span style="text-decoration:underline;">Tags</span><br />
                <asp:ListBox ID="TagList" runat="server" Rows="3" Width="90%"></asp:ListBox><br />
                <asp:DropDownList ID="TagChoiceList" runat="server" Width="40%"></asp:DropDownList> 
                <asp:Button ID="TagAddButton" runat="server" Text="Add Tag" onclick="AddTag_Click"/>
                <asp:Button ID="TagRemoveButton" runat="server" Text="Remove Tag" onclick="RemoveTag_Click"/>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <br />
    <asp:Button ID="CreateCourseButton" runat="server" Text="Create Course" onclick="CreateCourseButton_Click"/>
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="LowerLeftButtons" Runat="Server">
<!-- This section of the page contains the lower left buttons -->
    <asp:Button ID="HomeButton" Text="Home" runat="server" OnClick="HomeButton_Click" /><br /><br />
    <asp:Button ID="ViewLog" Text="Log" runat="server" Enabled="false" /><br /><br />
    <asp:Button ID="ViewNotes" Text="Notes" runat="server" Enabled="false" />
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="RadioButtons" Runat="Server">
<!-- This section of the page contains the radio buttons to select the view -->
</asp:Content>

<asp:Content ID="Content8" ContentPlaceHolderID="LowerRightButtons" Runat="Server">
<!-- This section of the page contains the lower right buttons -->
    <asp:Button ID="SaveButton" Text="Save" runat="server" Enabled="false" /><br /><br />
    <asp:Button ID="PrintButton" Text="Print" runat="server" Enabled="false" /><br /><br />
    <asp:Button ID="HelpButton" Text="Help" runat="server" OnClick="HelpButton_Click" />    
</asp:Content>
